/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.carcophan.jimdb.ejb.entites.service;

import de.carcophan.jimdb.jsf.security.AccessLog;
import java.io.Serializable;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author jheidenreich
 */
@Stateless
public class AccessLogFacade extends AbstractFacade<AccessLog> implements Serializable {

    @PersistenceContext(unitName = "jimdb-warPU")
    private EntityManager em;

    public AccessLogFacade() {
        super(AccessLog.class);
    }

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }
}
